cls
@echo off
@echo *
@echo * Microsoft Azure Mobile Service (ToDo) Exerciser
@echo * Add new ToDo Item as comamnd line parameter

call env.bat

@echo * Setting Mobile Service Table

set MSTable=toDoItem
@echo ON

@echo * 
@echo *


@echo * [1] POST (Insert/Create) a new record
@echo * > POST /tables/%MSTable% 
@echo *
curl -v -X POST -H Content-Type:application/json -H X-ZUMO-APPLICATION:%AppKey% -d "{\"text\":\"%1\", \"complete\":false}" %AzureMobileServiceURL%/tables/%MSTable%
